home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
dev
/
amos
/
amosl0794.lzh
/
AMOSLIST
/
000088_amos-request@svcs1.digex.net_Sat Jul 23 16:53:02 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-01
|
3KB
Received: from hela.INS.CWRU.Edu by nfs1.digex.net with SMTP id AA23153
(5.67b8/IDA-1.5 for <mcox@access.digex.net>); Sat, 23 Jul 1994 16:53:00 -0400
Received: from svcs1.digex.net (svcs1.digex.net [164.109.10.23]) by hela.INS.CWRU.Edu with SMTP (8.6.8.1+cwru/CWRU-2.1-freenet-gw)
id QAA06718; Sat, 23 Jul 1994 16:52:55 -0400 (from amos-request@svcs1.digex.net)
Received: by svcs1.digex.net id AA05302
(5.67b8/IDA-1.5 for amos-out); Sat, 23 Jul 1994 15:50:34 -0400
Received: from nfs1.digex.net by svcs1.digex.net with SMTP id AA05298
(5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Sat, 23 Jul 1994 15:50:32 -0400
Received: from access1.digex.net by nfs1.digex.net with SMTP id AA21462
(5.67b8/IDA-1.5 for <amos-list@access.digex.com>); Sat, 23 Jul 1994 15:50:31 -0400
Received: by access1.digex.net id AA02344
(5.67b8/IDA-1.5 for amos-list@access.digex.com); Sat, 23 Jul 1994 15:50:29 -0400
From: M D Cox <mcox>
Message-Id: <199407231950.AA02344@access1.digex.net>
Subject: Re: PIPEing
To: amos-list@access.digex.net (AMOS Mailing List)
Date: Sat, 23 Jul 1994 15:50:28 -0400 (ADT)
In-Reply-To: <199407231921.PAA29227@sefl.satelnet.org> from "MenTaT - !Productions" at Jul 23, 94 03:21:19 pm
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1263
Status: RO
>I'm not sure how the shell handles pipes - the easiest way to test it
>would be to try it!
But where would the input be? I mean, do I start a FOR NEXT loop and read
everything or is each line located at a specific address in memory, like
command line arguments?
>AMOS program to redirect it, but it's not a very good solution... For
>this kind of thing you're better off using C.
I thought you might say that. :( I can write it in C without any problems
just because it has special/standard facilities for STDIN and STDOUT. I
just get tired of C at work.
>Here's a nice awk program... (Dunno if it works in GNU awk, but it works
>in System V...)
I will give it a try in GAWK.
>Any awk/grep questions, just ask! :) (And here's something nice - search
>for users with no password an a *NIX machine :
AWK is quick and easy to do, fortunateluy I have experience with it.
>grep '^[^:]*::' /etc/passwd
>Not that I condone this sort of activity... :)
Oh, neither do I . . . ;)
Mike
--
Michael Cox Work: mcox@access.digex.net
A1200/120 w/1230XA 50/50/4 = SPEED! Play: aj639@Cleveland.FreeNet.EDU
For info on the AMOS Mailing List, contact me!
For AMOS Pro news, finger mcox@access.digex.net